package org.karelun.gef.actions;

import org.eclipse.ui.IWorkbenchPart;
import org.karelun.gef.model.AttributeModel;
import org.karelun.gef.model.BaseClassModel;

public class CreateAttributeAction extends AbstractAddAttributeAction {

	public CreateAttributeAction(IWorkbenchPart part) {
		super(part);
	}

	@Override
	protected void init() {
		super.init();
		setId(EditorActionFactory.ADDATTRIBUTE.getId());
		setEnabled(false);
	}

	protected BaseClassModel createAttrModel() {
		return new AttributeModel();
	}
}
